
public class Timer {
	
	private long result = 0;

	public void startTimer(){
		result = System.currentTimeMillis();
	}
	
	public void stopTimer(){
		result = System.currentTimeMillis() - result;
	}
	
	public double getResult(){
		double dresult = result * 0.001;
		result = 0;
		return dresult;
	}
}
